package com.marktotop.entity.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author MarkToTop
 * @since 2021-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("biz_vaccine")
@ApiModel(value="Vaccine对象", description="")
public class Vaccine implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "疫苗id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "疫苗名称")
    private String vaccineName;

    @ApiModelProperty(value = "疫苗提供方ID")
    private Long supplierId;

    @ApiModelProperty(value = "疫苗种类")
    private String vaccineType;

    @ApiModelProperty(value = "疫苗等级")
    private Integer vaccDegree;

    @ApiModelProperty(value = "针数")
    private Integer totalNeedle;

    @ApiModelProperty(value = "疫苗采购入库数量")
    private Integer stock;

    @ApiModelProperty(value = "当前剩余数量(库存)")
    private Integer overage;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedTime;

    @ApiModelProperty(value = "备注")
    private String remark;

}
